package com.yuanlrc.hotel.restaurantPicture.service;

import java.util.List;
import com.yuanlrc.hotel.restaurantPicture.domain.RestaurantPicture;

/**
 * 餐厅图库Service接口
 * 
 * @author yuanlrc
 * @date 2020-11-18
 */
public interface IRestaurantPictureService 
{
    /**
     * 查询餐厅图库
     * 
     * @param id 餐厅图库ID
     * @return 餐厅图库
     */
    public RestaurantPicture selectRestaurantPictureById(Long id);

    /**
     * 查询餐厅图库列表
     * 
     * @param restaurantPicture 餐厅图库
     * @return 餐厅图库集合
     */
    public List<RestaurantPicture> selectRestaurantPictureList(RestaurantPicture restaurantPicture);

    /**
     * 查询餐厅图库的最新的四条纪录,用于前台页面展示
     *
     * @param restaurantPicture 餐厅图库
     * @return 餐厅图库的前四条纪录
     */
    public List<RestaurantPicture> selectFourRestaurantPicture(RestaurantPicture restaurantPicture);

    /**
     * 新增餐厅图库
     * 
     * @param restaurantPicture 餐厅图库
     * @return 结果
     */
    public int insertRestaurantPicture(RestaurantPicture restaurantPicture);

    /**
     * 修改餐厅图库
     * 
     * @param restaurantPicture 餐厅图库
     * @return 结果
     */
    public int updateRestaurantPicture(RestaurantPicture restaurantPicture);

    /**
     * 批量删除餐厅图库
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteRestaurantPictureByIds(String ids);

    /**
     * 删除餐厅图库信息
     * 
     * @param id 餐厅图库ID
     * @return 结果
     */
    public int deleteRestaurantPictureById(Long id);
}
